package org.bigdata.framework.core.protocol;

import java.util.HashMap;
import java.util.List;

import org.bigdata.framework.core.model.AnalysisTopic;
import org.bigdata.framework.core.model.AnalysisTopicPermission;
import org.bigdata.framework.core.model.AnalysisTopicTarget;
import org.bigdata.framework.core.model.BaikeCategory;
import org.bigdata.framework.core.model.BaikeEntry;
import org.bigdata.framework.core.model.BaikeEntryRecord;
import org.bigdata.framework.core.model.BaikeEntryVersion;
import org.bigdata.framework.core.model.BaikeNews;
import org.bigdata.framework.core.model.BaikeTemplate;

/**
 * 2017-2-15 09:46:54
 * 
 * @author vimes 知识百科模块
 */
public interface IAnalysisService {

	/* 大数据分析专题 start */
	
	/* 专题管理一般内容 start */
	AnalysisTopic saveAnalysisTopic(AnalysisTopic analysisTopic);
	AnalysisTopic editAnalysisTopic(AnalysisTopic analysisTopic);
	void deleteAnalysisTopic(AnalysisTopic analysisTopic);
	AnalysisTopic findAnalysisTopic(Integer id);
	List<AnalysisTopic> getAnalysisTopic();
	List<AnalysisTopic> getAnalysisTopic(HashMap<String, Object> queryParams, int pageNumber, int pageSize);
	Integer getAnalysisTopicCount(HashMap<String, Object> queryParams);
	/* 专题管理一般内容 start */
	
	/* 专题管理对应图表 start */
	AnalysisTopicTarget saveAnalysisTopicTarget(AnalysisTopicTarget analysisTopicTarget);
	AnalysisTopicTarget editAnalysisTopicTarget(AnalysisTopicTarget analysisTopicTarget);
	void deleteAnalysisTopicTarget(AnalysisTopicTarget analysisTopicTarget);
	AnalysisTopicTarget findAnalysisTopicTarget(Integer id);
	List<AnalysisTopicTarget> getAnalysisTopicTarget(HashMap<String, Object> queryParams, int pageNumber, int pageSize);
	Integer getAnalysisTopicTargetCount(HashMap<String, Object> queryParams);
	/* 专题管理对应图表 start */
	
	/* 专题权限配置 start */
	AnalysisTopicPermission saveAnalysisTopicPermission(AnalysisTopicPermission analysisTopicPermission);
	AnalysisTopicPermission editAnalysisTopicPermission(AnalysisTopicPermission analysisTopicPermission);
	void deleteAnalysisTopicPermission(AnalysisTopicPermission analysisTopicPermission);
	AnalysisTopicPermission findAnalysisTopicPermission(String id);
	List<AnalysisTopicPermission> getAnalysisTopicPermission(HashMap<String, Object> queryParams, int pageNumber, int pageSize);
	Integer getAnalysisTopicPermissionCount(HashMap<String, Object> queryParams);
	/* 专题权限配置 end */
	
	
	/* 大数据分析专题 end */
	
	
}
